package com.pactera.miyuangroup.service;

import com.baomidou.mybatisplus.service.IService;
import com.pactera.miyuangroup.db.entity.OrganizationStructure;
import com.pactera.miyuangroup.vo.response.web.OrganizationRes;

import java.util.List;

/**
 * <p>
 * 组织结构信息 服务类
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
public interface OrganizationStructureService extends IService<OrganizationStructure> {

    /**
     * 米源 机构信息同步
     * @return
     */
    boolean syncMiyuanOrgInfo();


    /**
     * 获取机构树
     * @return
     */
    List<OrganizationRes> getTreeOrgList();
}
